<template>
  <div class="whiteBox container-fluid">
    <div class="row justify-content-center title">
      <div class="col-9">
        <p>企业级电商平台</p>
      </div>
    </div>

    <div class="row justify-content-center info">
      <div class="col-9">
        <div class="row justify-content-md-between justify-content-center">
          <div class="col-md-2 col-10 Box" v-for="item in result" :key="item.id">
            <div class="imgBox">
              <img :src="item.imgUrl" alt="">
            </div>
            <p class="title">{{item.title}}</p>
            <p class="info">
              {{item.info}}
            </p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
    data(){
        return{
            "title":"企业级电商平台",
            "result":[
                {
                    "id":0,
                    "imgUrl":"https://lanhu.oss-cn-beijing.aliyuncs.com/ps8e2d2599eaba0f39-decd-4599-9f26-fe054e6d402c",
                    "title":"PC端",
                    "info":"丰富的营销功能，精细化的用户体验，解决电商引流、推广难题."
                },
                 {
                    "id":1,
                    "imgUrl":"https://lanhu.oss-cn-beijing.aliyuncs.com/ps8e2d2599eaba0f39-decd-4599-9f26-fe054e6d402c",
                    "title":"PC端",
                    "info":"丰富的营销功能，精细化的用户体验，解决电商引流、推广难题."
                },
                 {
                    "id":2,
                    "imgUrl":"https://lanhu.oss-cn-beijing.aliyuncs.com/ps8e2d2599eaba0f39-decd-4599-9f26-fe054e6d402c",
                    "title":"PC端",
                    "info":"丰富的营销功能，精细化的用户体验，解决电商引流、推广难题."
                },
                 {
                    "id":3,
                    "imgUrl":"https://lanhu.oss-cn-beijing.aliyuncs.com/ps8e2d2599eaba0f39-decd-4599-9f26-fe054e6d402c",
                    "title":"aa端",
                    "info":"丰富的营销功能，精细化的用户体验，解决电商引流、推广难题."
                }
            ]
        }
    }

}
</script>

<style lang="less" scoped>
.whiteBox {
  padding: 7.44rem 0;
  .title {
    text-align: center;
    font-size: 3rem;
    font-family: PingFang SC;
    font-weight: 500;
    color: rgba(51, 51, 51, 1);
  }
  .itemBox {
    margin: 2rem 0;
    display: flex;
    // flex-direction: column;
    // justify-content: center;
    align-items: center;
    .Box {
      display: flex;
      flex-direction: column;
      align-items: center;
      p {
        text-align: center;
      }
      .title {
        font-size: 1.13rem;
        font-family: PingFang SC;
        font-weight: bold;
        color: rgba(51, 51, 51, 1);
      }
      .info {
        font-size: 1rem;
        font-family: PingFang SC;
        font-weight: 400;
        color: rgba(102, 102, 102, 1);
      }
      .imgBox {
        width: 8.75rem;
        height: 8.75rem;
        border-radius: 50%;
        background-color: #5ccfda;
      }
    }
  }
  .info {
    .row {
      margin: 6rem 0;
      .Box {
        display: flex;
        flex-direction: column;
        align-items: center;
        .imgBox {
          width: 100%;
          text-align: center;
          img {
            width: 80%;
          }
        }
        p {
          margin: 1rem 0;
          padding: 0 0;
        }
        .title {
          font-size: 1.5rem;
          font-family: PingFang SC;
          font-weight: 400;
          color: rgba(51, 51, 51, 1);
        }
        .info {
          font-size: 1rem;
          font-family: PingFang SC;
          font-weight: 400;
          color: rgba(153, 153, 153, 1);
        }
      }
    }
  }
  .infoImg {
    margin: 5rem 0;
    .infoBox {
      display: flex;
      flex-direction: column;
      align-items: center;
      // justify-content: center;
      .imgBox {
        width: 8.74rem;
        height: 8.74rem;
        line-height: 8.74rem;
        text-align: center;
        background-color: #5ccfda;
        border-radius: 50%;
        img {
          width: 50%;
          height: auto;
        }
      }
      p {
        text-align: center;
      }
      .title {
        margin-top: 1rem;
        font-size: 1.13rem;
        font-family: PingFang SC;
        font-weight: bold;
        color: rgba(51, 51, 51, 1);
      }
      .info {
        width: 80%;
        font-size: 1rem;
        font-family: PingFang SC;
        font-weight: 400;
        color: rgba(102, 102, 102, 1);
      }
    }
    .seg {
      width: 100%;
      img {
        width: 100%;
        height: auto;
      }
    }
  }
}

.blackBox {
  background-color: #f7f7f7;
  .nav {
    cursor: pointer;
    margin: 3rem 0;
    div {
      padding: 1rem 1rem;
      font-size: 2rem;
      font-family: PingFang SC;
      font-weight: 500;
      color: rgba(51, 51, 51, 1);
    }
  }
  .info {
    padding: 3rem;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    .text {
      margin-top: 1rem;
      p {
        text-align: left;
      }
      p:nth-child(1) {
        font-size: 2rem;
        font-family: PingFang SC;
        font-weight: 500;
        color: rgba(51, 51, 51, 1);
      }
      p:nth-child(2) {
        font-size: 1.5rem;
        font-family: PingFang SC;
        font-weight: 400;
        color: rgba(102, 102, 102, 1);
      }
    }
    .imgBox {
      margin-top: 1rem;
      width: 100%;
      text-align: center;
      img {
        width: 80%;
      }
    }
  }
}
</style>